package com.sunda.spmsorder.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 请购场景表表头
 * </p>
 *
 * @author Wayne
 * @since 2021-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SHOPPING_SCENARIO")
@ApiModel(value="ShoppingScenario对象", description="请购场景表表头")
public class ShoppingScenario implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "请购场景表唯一主键UUID")
    @TableId("UUID")
    private String uuid;

    @ApiModelProperty(value = "请购场景编号-工厂代码+四位序列号")
    @TableField("SCENARIO_ID")
    private String scenarioId;

    @ApiModelProperty(value = "工厂代码，必输字段")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "场景名称")
    @TableField("SCENARIO_NAME")
    private String scenarioName;

    @ApiModelProperty(value = "场景描述")
    @TableField("SCENARIO_DESC")
    private String scenarioDesc;

    @ApiModelProperty(value = "关联设备编号")
    @TableField("MACHINE_NO")
    private String machineNo;

    @ApiModelProperty(value = "关联设备描述信息")
    @TableField("MACHINE_DESC")
    private String machineDesc;

    @ApiModelProperty(value = "备注说明")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "是否删除-默认0否，1是")
    @TableField("IS_DELETE")
    private String isDelete;

    @ApiModelProperty(value = "创建人工号")
    @TableField("CREATE_USERID")
    private String createUserid;

    @ApiModelProperty(value = "创建时间-默认当前国际时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新人工号")
    @TableField("UPDATE_USERID")
    private String updateUserid;

    @TableField("UPDATE_TIME")
    private Date updateTime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getScenarioId() {
        return scenarioId;
    }

    public void setScenarioId(String scenarioId) {
        this.scenarioId = scenarioId;
    }

    public String getWerks() {
        return werks;
    }

    public void setWerks(String werks) {
        this.werks = werks;
    }

    public String getScenarioName() {
        return scenarioName;
    }

    public void setScenarioName(String scenarioName) {
        this.scenarioName = scenarioName;
    }

    public String getScenarioDesc() {
        return scenarioDesc;
    }

    public void setScenarioDesc(String scenarioDesc) {
        this.scenarioDesc = scenarioDesc;
    }

    public String getMachineNo() {
        return machineNo;
    }

    public void setMachineNo(String machineNo) {
        this.machineNo = machineNo;
    }

    public String getMachineDesc() {
        return machineDesc;
    }

    public void setMachineDesc(String machineDesc) {
        this.machineDesc = machineDesc;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreateUserid() {
        return createUserid;
    }

    public void setCreateUserid(String createUserid) {
        this.createUserid = createUserid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUserid() {
        return updateUserid;
    }

    public void setUpdateUserid(String updateUserid) {
        this.updateUserid = updateUserid;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "ShoppingScenario{" +
                "uuid='" + uuid + '\'' +
                ", scenarioId='" + scenarioId + '\'' +
                ", werks='" + werks + '\'' +
                ", scenarioName='" + scenarioName + '\'' +
                ", scenarioDesc='" + scenarioDesc + '\'' +
                ", machineNo='" + machineNo + '\'' +
                ", machineDesc='" + machineDesc + '\'' +
                ", remarks='" + remarks + '\'' +
                ", isDelete='" + isDelete + '\'' +
                ", createUserid='" + createUserid + '\'' +
                ", createTime=" + createTime +
                ", updateUserid='" + updateUserid + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
